package top.songxs.gmall.item;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import top.songxs.gmall.cache.anno.EnableGmallCache;
import top.songxs.gmall.common.anno.EnableGlobalExceptionHandler;
import top.songxs.gmall.common.anno.EnableThreadPool;


@EnableGlobalExceptionHandler
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients(basePackages = {"top.songxs.gmall.feign.product",
        "top.songxs.gmall.feign.item",
        "top.songxs.gmall.feign.search"})
@EnableGmallCache
@EnableThreadPool

public class ItemApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItemApplication.class,args);
    }
}
